/**
 * @author yye0682
 *
 * 
 */
package it.pecuswap.backend.intefaces;

import it.pecuswap.backend.entities.User;
import it.pecuswap.commons.exceptions.PecuswapEjbException;

import java.util.List;

import javax.ejb.Remote;

/**
 * The Interface PecuswapInterfaceService.
 * 
 */
@Remote
public interface PecuswapServiceInterface {
	
	/**
     * Find User by id.
     * 
     * @param id 
     * @return User
     * @throws PecuswapEjbException
     */
    public User findUserByUserName(String userName) throws PecuswapEjbException;

}